package com.perfma.xtest.cmd;

import java.io.Serializable;
import java.util.List;

public class ExecuteResult implements Serializable {


    private static final long serialVersionUID = -1848934775267058041L;

    private boolean success;
    private String executeOut;  //执行过程中的内容
    private String logPath;     //执行后产出日志
    private List<HttpInfo> httpInfoList;    //日志转换为http信息

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getExecuteOut() {
        return executeOut;
    }

    public void setExecuteOut(String executeOut) {
        this.executeOut = executeOut;
    }

    public ExecuteResult(boolean success, String executeOut) {
        this.success = success;
        this.executeOut = executeOut;
    }

    public String getLogPath() {
        return logPath;
    }

    public void setLogPath(String logPath) {
        this.logPath = logPath;
    }

    public List<HttpInfo> getHttpInfoList() {
        return httpInfoList;
    }

    public void setHttpInfoList(List<HttpInfo> httpInfoList) {
        this.httpInfoList = httpInfoList;
    }

    @Override
    public String toString() {
        return "ExecuteResult{" +
                "success=" + success +
                ", executeOut='" + executeOut + '\'' +
                '}';
    }
}
